Class symantec.itools.db.beans.util.UtilResourceLoader
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class symantec.itools.db.beans.util.UtilResourceLoader

Object
   |
   +----symantec.itools.db.beans.util.UtilResourceLoader

public final class UtilResourceLoader
extends Object

This class loads the UtilResource.

It implements the Singleton Design Pattern.

Version:
1.0 06/12/98
Author:
Hristo Tonev
See Also:
ResourceBundle, ListResourceBundle

Method Index

 o getBundle()
This method is the same as: java.util.ResourceBundle.getBundle("symantec.itools.db.beans.util.UtilResource")) Unfortunately we cannot override getBundle() - it is final.
 o getInstance()
 o main(String[])

Methods

 o getBundle
public java.util.ResourceBundle getBundle()
This method is the same as: java.util.ResourceBundle.getBundle("symantec.itools.db.beans.util.UtilResource")) Unfortunately we cannot override getBundle() - it is final. Everywhere where you need to load UtilResource use this: UtilResourceLoader.getBundle() It prevents from loading the same resource file multiple times. The usage of the resource remains the same: MyResource.getString() - MyResource is the reference that is in your code

 o getInstance
public static synchronized symantec.itools.db.beans.util.UtilResourceLoader getInstance()
 o main
public static void main(String[] args)

All Packages  Class Hierarchy  This Package  Previous  Next  Index